﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 第二次作业
{
    public class Bank
    {
        public int id { set; get; }
        public string name { set; get; }
        public List<Account> Accounts { get; set; }
        public List<TrustAccount> TrustAccounts { get; set; }

        public Bank() { }
        public Bank(int id, string name, List<Account> Accounts, List<TrustAccount> TrustAccounts)
        {
            this.id = id;
            this.name = name;
            this.Accounts = Accounts;
            this.TrustAccounts = TrustAccounts;

        }


    }
}
